using FreeSql.DataAnnotations;

namespace Quartz.NET.Web.Models
{
    /// <summary>
    /// Api信息
    /// </summary>
    public class Api_Info:BaseModel   
    {
        /// <summary>
        /// api 名字
        /// </summary>
        [Column(DbType ="varchar(120)")]
        public string api_name{get;set;}

        /// <summary>
        /// api 地址
        /// </summary>
        [Column(DbType ="varchar(320)")]
        public string api_url{get;set;}
        /// <summary>
        /// 請求類型 post  get put delet 
        /// </summary>
        [Column(DbType ="varchar(20)")]
        public string request_method{get;set;}
        /// <summary>
        /// 參數類型 body url
        /// </summary>
        [Column(DbType ="varchar(20)")]
        public string param_type{get;set;}

        /// <summary>
        /// 是否需要授權
        /// </summary>
        [Column(DbType ="varchar(10)")]
        public string is_oauth{get;set;}

        /// <summary>
        /// header  key
        /// </summary>
              [Column(DbType ="varchar(20)")]
        public string header_key{get;set;}

        /// <summary>
        /// header value
        /// </summary>
        [Column(DbType ="varchar(180)")]
        public string header_value{get;set;}
    }
}